import { createApp } from 'vue'

//创建pinia
import { createPinia } from 'pinia'

//创建路由
import router from './router'

//引入 ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//引入 ElementPlus Icon图标
import registerIcons from '@/global/registerElementIcons'
//创建App入口
import App from './App.vue'
// import dasd from './App.vue'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(ElementPlus)
app.use(registerIcons)
app.mount('#app')

// console.log(import.meta.env)
// console.log(1111)
